using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TiaoTaoHelper.Wtm.Models;


namespace HengTong.ViewModel._Admin.SysTaskV2Vms
{
    public partial class SysTaskV2Searcher : BaseSearcher
    {
        [Display(Name = "名称")]
        public String Name { get; set; }
        [Display(Name = "类名")]
        public String ClassName { get; set; }
        [Display(Name = "描述")]
        public String Description { get; set; }
        [Display(Name = "任务类型")]
        public TaskTypeEnum? TaskType { get; set; }
        [Display(Name = "上次运行开始时间")]
        public DateRange StartTime { get; set; }
        [Display(Name = "上次运行结束时间")]
        public DateRange EndTime { get; set; }
        [Display(Name = "重复次数")]
        public Int32? Repeat { get; set; }
        [Display(Name = "是否永久重复")]
        public Boolean? IsForever { get; set; }
        [Display(Name = "延迟秒数")]
        public Int32? IntervalInSeconds { get; set; }
        [Display(Name = "延迟秒数")]
        public Int32? DelaySeconds { get; set; }
        [Display(Name = "上次运行时长")]
        public Int64? LastRunTime { get; set; }
        [Display(Name = "Cron表达式")]
        public String Cron { get; set; }
        [Display(Name = "上次运行状态")]
        public TaskResultEnum? LastRunResult { get; set; }
        [Display(Name = "是否启用")]
        public Boolean? IsEnable { get; set; }
        [Display(Name = "是否运行")]
        public Boolean? IsRun { get; set; }
        public DateRange CreateTime { get; set; }
        public DateRange UpdateTime { get; set; }

        protected override void InitVM()
        {
        }

    }
}
